/*
 * ---------------------------------------------------------------------
 * Copyright (c) 2014, 2015 All Right Reserved
 * This software is developed for study and improve coding skill ...
 *
 * Project:  Excellent Coding < EC >
 *
 * ecDllLib.h
 * Eamil:  epengao@126.com
 * Author: Peter Gao
 * Version: First initinal version.
 * --------------------------------------------------------------------
 */

#ifndef EC_DLL_LIB_H
#define EC_DLL_LIB_H

#ifdef _WIN32
#include <windows.h>
#else
#include <Linux.h>???
#endif

namespace ec {

#ifdef __cplusplus
#define EC_EXPORT extern "C" __declspec (dllexport)
#else
#define EC_EXPORT            __declspec (dllexport)
#endif

#ifdef _WIN32
#define  EC_ExAPI    WINAPI
#else
#define  EC_ExAPI    /* Linux API or iOS API*/
#endif

} /* namespace ec */
#endif /* EC_DLL_LIB_H */